package com.sinvo.oa.service;

import com.alibaba.fastjson.JSON;
import com.sinvo.oa.entity.model.system.SysMenu;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.List;

/**
 * @Description
 */
@SpringBootTest
public class SysMenuServiceImpl {

    @Autowired
    private SysMenuService sysMenuService;

    @Test
    public void test(){
        List<SysMenu> nodes =
                sysMenuService.getAllMenuNodes();
        System.out.println(JSON.toJSON(nodes));
    }
}
